const state = {
  urlIndex: 0
};

const mutations = {
  changeUrlIndex(state, 
    index
  ) {
    console.log(222, index);
    state.urlIndex = index;
  },
};

const actions = {
  changeUrlIndex({
    commit,
    state
  }, index) {
    console.log(111, index);
    commit('changeUrlIndex', index)
  }
};

const getters = {

};

export default {
  state,
  getters,
  actions,
  mutations
}
